﻿namespace Loki.Data
{
    /// <summary>
    /// Base interface for data entities.
    /// </summary>
    /// <typeparam name="TKeyType">Entity key type.</typeparam>
    public interface IDataEntity<TKeyType>
    {
        /// <summary>
        /// Gets or sets the data entity key.
        /// </summary>
        TKeyType PK { get; set; }
    }
}
